<?xml version="1.0" encoding="UTF-8"?>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:util="http://java.sun.com/jsf/composite/components/util">
<ui:composition template="/WEB-INF/templates/member/memComTemplate.xhtml">
	<ui:param name="top" value="account"></ui:param>
	<ui:param name="subtop" value="queAns"></ui:param>
	<ui:define name="memComTitle">
		<div class="topshowtitle">密码问题保护</div>
	</ui:define>
	<ui:define name="memComSubTop">
		<ui:include src="/WEB-INF/templates/member/memComAccount.xhtml" />
	</ui:define>
	<ui:define name="memComContent">	
		<h:form id="memComContentForm">

				<div class="content">
					<div class="left">
					<ul class="gerenleft">
						<li class="topli"><h:outputLabel value="问题提示:" for="question"></h:outputLabel><h:inputText id="question" value="#{currentCustomer.customerVo.passwordQuestion}" onblur="this.className='inputregoff'" onfocus="this.className='inputregon'" maxlength="100" styleClass="inputregoff"></h:inputText></li>
						<li><h:outputLabel value="回答:" for="answer"></h:outputLabel><h:inputText id="answer" value="#{currentCustomer.customerVo.passwordAnswer}" onblur="this.className='inputregoff'" onfocus="this.className='inputregon'" maxlength="100" styleClass="inputregoff"></h:inputText></li>
					</ul>
					<div class="form-submit"><div id="confirm_button" class="ui-button-green"><span><h:commandLink action="#{currentCustomer.updatePasQueAns}" styleClass="ui-button">保存最新的设置</h:commandLink></span></div></div>
					<div class="clear">
						<util:messages errorMessages="#{currentCustomer.errorMessages}"></util:messages>
					</div>
					</div>
				</div>

		</h:form>
	</ui:define>
	
</ui:composition>
</html>

